package com.wcr.day03.Test2;

class Fu  extends  yeye{
   public String name;

    public void hejiu(){
        System.out.println("和"+name+"喝酒执行了一次");
    }

    public Fu() {
    }

    public Fu(String name) {
        this.name = name;
    }
}

class yeye {
    public void chouyan(){
        System.out.println("抽烟执行了一次");
    }
}


class zi extends Fu{

    public  zi(){

    }
    }

